<?php
namespace Home\Controller;

use Think\Controller;
class PublicController extends Controller{
    Public function verify(){
        $Verify =     new \Think\Verify();
        $Verify->fontSize = 100;
        $Verify->length   = 4;
        $Verify->useCurve   = false;
        $Verify->useNoise = false;
        $Verify->codeSet = '0123456789';
        $Verify->fontttf = '5.ttf';
        $Verify->useImgBg = true;
        $Verify->entry();
        return $Verify;
    }

    Public function check($verify){
        $Verify =  new \Think\Verify();
        return $Verify->check($verify);
    }

}